package com.imooc.mymall.service;

import com.imooc.mymall.domain.dto.UserQueryDTO;

/**
 * <h1>Excel导出服务接口</h1>
 * @Author: crowsjian
 * @Date: 2020/7/18 0:52
 */
public interface ExcelExportService {

    /**
     * <h2>同步导出</h2>
     * @param query
     * @param filename
     */
    void export(UserQueryDTO query, String filename);

    /**
     * <h2>异步导出</h2>
     * @param query
     * @param filename
     */
    void asyncExport(UserQueryDTO query, String filename);
}
